<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::MultiPolygon Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_multi_polygon.html">MultiPolygon</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_multi_polygon-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::MultiPolygon Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>used to define a closed region  
 <a href="class_s_p_h_1_1_multi_polygon.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="multi__polygon__shape_8h_source.html">multi_polygon_shape.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afda6a0813da46170a32830728c3c858d"><td class="memItemLeft" align="right" valign="top"><a id="afda6a0813da46170a32830728c3c858d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MultiPolygon</b> (const std::vector&lt; Vecd &gt; &amp;points)</td></tr>
<tr class="separator:afda6a0813da46170a32830728c3c858d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fa22ae96fc8d570fc7e770923bf9146"><td class="memItemLeft" align="right" valign="top"><a id="a6fa22ae96fc8d570fc7e770923bf9146"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>MultiPolygon</b> (const Vec2d &amp;center, Real radius, int resolution)</td></tr>
<tr class="separator:a6fa22ae96fc8d570fc7e770923bf9146"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0f9883a62c583e480fbb511710dc84c"><td class="memItemLeft" align="right" valign="top"><a id="af0f9883a62c583e480fbb511710dc84c"></a>
boost_multi_poly &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getBoostMultiPoly</b> ()</td></tr>
<tr class="separator:af0f9883a62c583e480fbb511710dc84c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a877ce55fac28c9bff4339a28bf006e44"><td class="memItemLeft" align="right" valign="top"><a id="a877ce55fac28c9bff4339a28bf006e44"></a>
<a class="el" href="class_s_p_h_1_1_base_bounding_box.html">BoundingBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>findBounds</b> ()</td></tr>
<tr class="separator:a877ce55fac28c9bff4339a28bf006e44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42a86347ef0a4c6eab6c54cc1c8dc9c0"><td class="memItemLeft" align="right" valign="top"><a id="a42a86347ef0a4c6eab6c54cc1c8dc9c0"></a>
<a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><b>checkContain</b> (const Vec2d &amp;pnt, <a class="el" href="classbool.html">bool</a> BOUNDARY_INCLUDED=true)</td></tr>
<tr class="separator:a42a86347ef0a4c6eab6c54cc1c8dc9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06b2ea241b252282bc1768825990cb54"><td class="memItemLeft" align="right" valign="top"><a id="a06b2ea241b252282bc1768825990cb54"></a>
Vec2d&#160;</td><td class="memItemRight" valign="bottom"><b>findClosestPoint</b> (const Vec2d &amp;input_pnt)</td></tr>
<tr class="separator:a06b2ea241b252282bc1768825990cb54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdeb7a9529f140c491d15a46c7c9016e"><td class="memItemLeft" align="right" valign="top"><a id="abdeb7a9529f140c491d15a46c7c9016e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAMultiPolygon</b> (<a class="el" href="class_s_p_h_1_1_multi_polygon.html">MultiPolygon</a> &amp;multi_polygon, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:abdeb7a9529f140c491d15a46c7c9016e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1509042c0dcb0cbdfd42ff71c732883e"><td class="memItemLeft" align="right" valign="top"><a id="a1509042c0dcb0cbdfd42ff71c732883e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addABoostMultiPoly</b> (boost_multi_poly &amp;boost_multi_poly, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a1509042c0dcb0cbdfd42ff71c732883e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61488586620d563642e5bae7e69cc64d"><td class="memItemLeft" align="right" valign="top"><a id="a61488586620d563642e5bae7e69cc64d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAPolygon</b> (const std::vector&lt; Vecd &gt; &amp;points, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:a61488586620d563642e5bae7e69cc64d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afba7f8d5f271a5127dcbfa29dfcaa644"><td class="memItemLeft" align="right" valign="top"><a id="afba7f8d5f271a5127dcbfa29dfcaa644"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addABox</b> (<a class="el" href="class_s_p_h_1_1_transform2d.html">Transform2d</a> transform2d, const Vec2d &amp;halfsize, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:afba7f8d5f271a5127dcbfa29dfcaa644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5d79f8c241739a29a61e1fcb2c6fcf4"><td class="memItemLeft" align="right" valign="top"><a id="ab5d79f8c241739a29a61e1fcb2c6fcf4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addACircle</b> (const Vec2d &amp;center, Real radius, int resolution, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op)</td></tr>
<tr class="separator:ab5d79f8c241739a29a61e1fcb2c6fcf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a848fd010cb15ba1d06857a5e30ec59b4"><td class="memItemLeft" align="right" valign="top"><a id="a848fd010cb15ba1d06857a5e30ec59b4"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addAPolygonFromFile</b> (std::string file_path_name, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> op, Vec2d translation=Vecd(0), Real scale_factor=1.0)</td></tr>
<tr class="separator:a848fd010cb15ba1d06857a5e30ec59b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa5956b5feaba371ab3158a7364d980c2"><td class="memItemLeft" align="right" valign="top"><a id="aa5956b5feaba371ab3158a7364d980c2"></a>
boost_multi_poly&#160;</td><td class="memItemRight" valign="bottom"><b>MultiPolygonByBooleanOps</b> (boost_multi_poly multi_poly_in, boost_multi_poly multi_poly_op, <a class="el" href="class_shape_boolean_ops.html">ShapeBooleanOps</a> boolean_op)</td></tr>
<tr class="separator:aa5956b5feaba371ab3158a7364d980c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab87ac7670701d30021c60e5c4a9ea8b4"><td class="memItemLeft" align="right" valign="top"><a id="ab87ac7670701d30021c60e5c4a9ea8b4"></a>
boost_multi_poly&#160;</td><td class="memItemRight" valign="bottom"><b>multi_poly_</b></td></tr>
<tr class="separator:ab87ac7670701d30021c60e5c4a9ea8b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>used to define a closed region </p>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>SPHINXsys/src/for_2D_build/geometries/<a class="el" href="multi__polygon__shape_8h_source.html">multi_polygon_shape.h</a></li>
<li>SPHINXsys/src/for_2D_build/geometries/<a class="el" href="multi__polygon__shape_8cpp.html">multi_polygon_shape.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
